$breakpoints: (phone: 320px, tablet: 768px, desktop: 1024px);

html {

}

body {

}

.clear {
  clear: both;
}

.middle {
     position: absolute;
     margin: auto;
     top: 0;
     bottom: 0;
     left: 0;
     right: 0;
}

a.no-underline {
	text-decoration: none;
}

ion-content {
	color: #777777;
}

.toolbar {
  min-height: 4rem !important;
}

.toolbar-background {
  background: #444444;
}
.toolbar-title {
  color: #FFFFFF;
  font-size: 1.9rem;
}

ion-navbar {
	.back-button {
	   padding: 0 0.8rem;
	   color: #FFFFFF;
	}
}
.tab-button:hover:not(.disable-hover), .tab-button[aria-selected=true] {
    color: #444;
}

.text-big {
    font-size: 1.6rem !important;
    font-family: Roboto, "Roboto Cn";
    line-height: 2.5rem !important;
}
.text-thin {
    font-size: 1.28rem !important;
    font-family: "Roboto Lt";
    line-height: 1.6rem !important;
}
.list-item-text-middle {
    font-size: 1.6rem !important;
    font-family: Roboto, "Roboto Cn";
    line-height: 2.5rem !important;
}
.list-item-text-thin {
    font-size: 1.28rem !important;
    font-family: "Roboto Lt";
    line-height: 1.6rem !important;
}

.text-ellipsis{text-overflow:ellipsis; overflow:hidden; white-space:nowrap;}
.text-clip{text-overflow:clip; overflow:hidden; white-space:nowrap;}
.text-color-light-grey {
    color: #4e5053;
}
.text-color-white {
    color: white;
}

ion-slides {
	height: 14rem;
	ion-slide {
	  margin: 0;
	  padding: 0;
	  .slide-zoom {
	    height: 100%;
	    .slide-image {
	      margin: auto;
	      height: 100%;
	      width: 100%;
	      .img {
	        height: 100%;

	        background-size: cover;
               background-repeat:no-repeat;
               background-position:center;
	      }
	    }
	    .slider-bar {
	      position: absolute;
	      bottom: 0;
	      width: 100%;
	      height: auto;
	      background: rgba(0, 0, 0, 0.5);

	      .slider-bar-inner {
	        height: 100%;
	        min-height: 3.4rem;
	        width: auto;
	        margin: 0;
	        text-overflow: ellipsis;

	        div {
	          line-height: 3.4rem;
	        }
	      }
	    }
	  }
	}
}

.avatar-list {
	ion-item {
	   ion-avatar {
	       min-width: 5rem;
		   min-height: 5rem;
	       img {
	           max-width: 5rem;
			    max-height: 5rem;
			    border-radius: 5rem;
	       }
	   }
	   .item-inner {
	       .input-wrapper {
	           ion-label {
	               h2 {
	                   line-height: 2rem;
                       font-size: 1.8rem;
	               }
	               p {
	                   line-height: 1.8rem;
                       font-size: 1.5rem;
	               }
	           }
	       }
	   }
	}
}

.my-grid {
  padding: 0;
  .my-col {
    position: relative;
    float: left;
    padding: 0rem;
    border: 0;
    width: 33%;

    &.my-border {
       border: 0.1rem solid #DADADA;
       border-left: 0;
       border-top: 0;

       &:nth-child(3n) { border-right: 0;}
       &.col-4, &.col-5, &.col-6 {
        border-bottom: 0;
       }
       &.col-sigle-line {
          border-top: 0.1rem solid #DADADA;
          border-bottom: 0;
       }
    }

    .col-inner {
      position: absolute;
      margin: auto;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      width: 60%;
      height: 60%;

      .img {
        margin: 0;
        height: 80%;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
      }
      .space {
        height: 10%;
      }
      .text {
        text-align: center;
        @include media("<phone") {
          font-size: 1.4rem;
        }
        @include media(">=phone", "<tablet") {
          font-size: 2.0rem;
        }
        @include media(">=tablet") {
          font-size: 3rem;
        }
      }
    }
  }
}


.bottom-toolbar{
    margin: 0;
    padding: 0;
    background-color: white;

    border-bottom: 0;
    border-top:0.07rem solid #b2b2b2;

    .toolbar-content {
        margin: 0;
        padding: 0;

        .bottom-buttons {
            display: flex;
            width: 100%;
            margin: 0;
            padding: 0px;
            font-size: 1.4rem;

            .icons {
                 flex: 1;
                 padding: 0;
                 background-color: white;
                 ion-icon {
                    margin: 0.36rem 0;
                    font-size: 2.0em;
                }
            }
            .buttons {
                flex: 1;
                &.orange {
                    background: #DA9050;
                }
                &.blue {
                    background: #8DA5D1;
                }
                button {
                    margin: 0;
                    padding: 0;

                    width: 100%;
                    height: 4.4rem;
                    color: black;
                }
            }
        }
    }
}
